home *** CD-ROM | disk | FTP | other *** search
/ Xentax forum attachments archive / xentax.7z / 5021 / er 1.jpg
Joint Photographic Experts Group Image  |  2023-01-01  |  251.1 KB  |  773x588  |  16-bit (13,818 colors)
   ocr: D:Program FileslAutodeski3ds Max 20091Scnptsigalgun.ms - MAXScript X File Edit Search View Tools Options Language Windows Help 1g galgun.ms 41 sign = bit.get inputAsint 16 42 exponent = (bit.shift (bit.and inputAsint (bit.hexasint "7C00")) -10) as integer - 16 43 fraction == bit.and inputAsint (bit.hexasint "03FF") 44 ifs sign==true then sign = 1 else sign == 0 45 exponent == exponent + 127 46 --Ouput 32 bit integer representing a 32 bit float 47 outputAsFloat = bit.or (bit.or (bit.shift fraction 13) (bit.shift exponentF 23)) (bit.shift sign 31) 48 --Output Check 49 return oit.intastloat outpu ...